package com.blabla.enums;

/**
 * @author yzw
 * @date 2022/1/15 10:51
 * @desc 计算类型枚举
 */
public enum CalculationType {
    /**
     * - 加减乘除
     */
    ADD("ADD", "加法"),
    SUB("SUB", "减法"),
    MUL("MUL", "乘法"),
    DIV("DIV", "除法"),
    ;

    /**
     * - 操作code
     */

    private String code;

    /**
     * - 描述
     */
    private String desc;

    CalculationType(String code, String desc) {

        this.code = code;

        this.desc = desc;

    }

    public String getCode() {

        return code;

    }

    public void setCode(String code) {

        this.code = code;

    }

    public String getDesc() {

        return desc;

    }

    public void setDesc(String desc) {

        this.desc = desc;

    }

}
